package com.slz3.business.module.orderManagement.ordRefund.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(schema = "order_management", name = "ord_refund")
@Data
@EqualsAndHashCode(callSuper = true)
public class OrdRefund extends OrdRefundEntity {

    @Transient
//    @NotNull(message = "ser1 必须非空!", groups = {Add.class, Modify.class})
//    @Length(min = 1, max = 255, message = "ser1 必须非空!", groups = {Add.class, Modify.class})
    private String serValid;

    @Transient
//    @NotNull(message = "ser2 必须非空!", groups = {Add.class, Modify.class})
//    @Length(min = 1, max = 255, message = "ser2 必须非空!", groups = {Add.class, Modify.class})
    private String serValid2;

    @Transient
    /**
     * 退款类型
     */
    private Integer serReturnType;

    @Transient
    /**
     * 退款金额
     */
    private Double serMoney;

}
